package org.prem.varargs;

public class SampleVararg {

	public static void testVararg(int... i){
		for(int num : i){
			System.out.println("num--------->"+num);
		}
	}

	
	public static void main(String[] args){
		
		boolean b1 = true;
		boolean b2 = false;
		boolean b3 = true;
		if(b1 & b2 | b2 & b3|b2){
			System.out.println("ok");
		}
		if(b1 & b2 | b2 & b3|b2|b1){
			System.out.println("ok");
		}
	}
}
